<?php
use app\modules\album\assets\AlbumPlugAsset;
$p = \Yii::$app->controller->module->templateAsset."/xuandongxingkong/";
AlbumPlugAsset::register($this);
?>
<style>
    html,body,.main-body{
        height: 100%;
    }
    #sec_content{
        height: 100%;
    }
</style>
<!--模板动画-->
<section id="sec_content">
<div id="div_player"></div>
    <div id="wrapper_cover">
        <div id="wrapper_player_cover_bkgnd">
         <img />
         <div id="wrapper_player_cover_title">
            <span id="album_title"></span>
         </div>
        </div>
        <div id="div_player_loadingText">
            <span id="player_loadingText"></span>
        </div>
        <div id="wrapper_player_cover_logo">
            <div id="player_icon"></div>
        </div>
    </div>
</section>
<script type="text/javascript">
var e_scene = "menghuanxingkong";
var e = 500,
    t = 815;
    APP_URL = "<?=$p?>";
    g_album_info = {"status":1,"title": desc,"bkgnd":"","create_time":"1451654199","music":"","user_name":"","uid":null,"id":"16347"};
    var template ={"name":e_scene,"script":"<?=$p?>"+e_scene+".js","object":"EVA_ALBUM_"+e_scene,"version":"1.0","music":music_url,"id":"12"}
g_albumPlayer = new EVA_Player("div_player", e, t);
for(var i=0;i<slider_images_url.length;i++){
    g_albumPlayer.addMedia(
      {"url":slider_images_url[i],"type":"image","location":"url"})
}
g_albumPlayer.applyTemplate(template),
g_albumPlayer.play(); 
</script>

